﻿using DevExpress.XtraEditors;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CamHKVision
{
    public partial class FormSetting : XtraForm
    {
        public string strName;
        public CamHKVision  camGeneral;
        public FormSetting()
        {
            InitializeComponent();
        }

        private void FormSetting_Load(object sender, EventArgs e)
        {
            label1.Text = camGeneral.strName;
            propertyGridCamItem.SelectedObject = this.camGeneral.camGeneralSetting;
        }

        private void buttonCreateSetting_Click(object sender, EventArgs e)
        {

           
        }

        private void buttonSave_Click(object sender, EventArgs e)
        {
            camGeneral.camGeneralSetting.Save();
        }
    }
}
